    /*public Principal()
    {
        Principal p = new Principal();
        Operaciones o = new Operaciones();
        o.setAl(a);
        mayor = o.valormax();
        suma= o.suma();
        promedio = o.promedio();
        
    }
 */
package Logica1;

import Logica.Operaciones;
import java.util.ArrayList;

/**
 *
 * @author Santiago
 */
public class Principal 
{
    private Integer datoX;
    private Integer datoY;
    private ArrayList a;
    private Integer suma;
    private float promedio;
    private Integer mayor;
    private Operaciones o;



    public Integer getDatoX() {
        return datoX;
    }


    public void setDatoX(Integer datoX) {
        this.datoX = datoX;
    }


    public Integer getDatoY() {
        return datoY;
    }


    public void setDatoY(Integer datoY) {
        this.datoY = datoY;
    }


    public Integer getSuma() {
        return suma;
    }


    public void setSuma() {
        this.suma = o.suma();
    }


    public float getPromedio() {
        return promedio;
    }


    public void setPromedio() {
        this.promedio = o.promedio();
    }


    public Integer getMayor() {
        return mayor;
    }


    public void setMayor(Integer mayor) {
        this.mayor = mayor;
    }
    

    


    
  
}
